import Vue from 'vue'
import Router from 'vue-router'

Vue.use(Router)

export default new Router({
  mode: 'hash',
  routes: [
    {
      path: '/',
      name: 'Index',
      component: require('../pages/Index.vue')
    }, {
      path: '/ShopDetail/:id',
      name: 'ShopDetail',
      component: require('../pages/ShopDetail.vue')
    }
  ]
})
